package com.prawn.trace.record.pojo;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * 实体类
 * @author Administrator
 *
 */
@Entity
@Table(name="trace_invest")
public class Invest implements Serializable{

	@Id
	private String id;//投料批次编号


	
	private String name;//投料名称
	private String pic;//原料图片
	private java.util.Date produceDate;//生产日期
	private String qualityPeriod;//保质期
	private java.util.Date purchaseDate;//进货日期
	private String checkPerson;//检验人ID
	private String checkResult;//检验结果
	private String supplier;//供应商名称
	private String supplierAddr;//供应商地址
	private String supplierPhone;//供应商电话
	private String supplierLicence;//供应商许可证编号
	private String traceNo;//投料溯源接口(没有就为空)
	private java.util.Date createDate;//创建日期
	private String createBy;//创建者
	private String produceBatchId;//批次ID
	private String processId;//生产流程ID

	
	public String getId() {		
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public String getName() {		
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public String getPic() {		
		return pic;
	}
	public void setPic(String pic) {
		this.pic = pic;
	}

	public java.util.Date getProduceDate() {		
		return produceDate;
	}
	public void setProduceDate(java.util.Date produceDate) {
		this.produceDate = produceDate;
	}

	public String getQualityPeriod() {		
		return qualityPeriod;
	}
	public void setQualityPeriod(String qualityPeriod) {
		this.qualityPeriod = qualityPeriod;
	}

	public java.util.Date getPurchaseDate() {		
		return purchaseDate;
	}
	public void setPurchaseDate(java.util.Date purchaseDate) {
		this.purchaseDate = purchaseDate;
	}

	public String getCheckPerson() {		
		return checkPerson;
	}
	public void setCheckPerson(String checkPerson) {
		this.checkPerson = checkPerson;
	}

	public String getCheckResult() {		
		return checkResult;
	}
	public void setCheckResult(String checkResult) {
		this.checkResult = checkResult;
	}

	public String getSupplier() {		
		return supplier;
	}
	public void setSupplier(String supplier) {
		this.supplier = supplier;
	}

	public String getSupplierAddr() {		
		return supplierAddr;
	}
	public void setSupplierAddr(String supplierAddr) {
		this.supplierAddr = supplierAddr;
	}

	public String getSupplierPhone() {		
		return supplierPhone;
	}
	public void setSupplierPhone(String supplierPhone) {
		this.supplierPhone = supplierPhone;
	}

	public String getSupplierLicence() {		
		return supplierLicence;
	}
	public void setSupplierLicence(String supplierLicence) {
		this.supplierLicence = supplierLicence;
	}

	public String getTraceNo() {		
		return traceNo;
	}
	public void setTraceNo(String traceNo) {
		this.traceNo = traceNo;
	}

	public java.util.Date getCreateDate() {		
		return createDate;
	}
	public void setCreateDate(java.util.Date createDate) {
		this.createDate = createDate;
	}

	public String getCreateBy() {		
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public String getProduceBatchId() {		
		return produceBatchId;
	}
	public void setProduceBatchId(String produceBatchId) {
		this.produceBatchId = produceBatchId;
	}

	public String getProcessId() {		
		return processId;
	}
	public void setProcessId(String processId) {
		this.processId = processId;
	}


	
}
